home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3realsoft.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_REALSOFT_H = 1;
- include("oops/r3root.js")
-
-
- var R3CLID_REALSOFT = 1737;
-
-
-
-
- // Description: Start event processing, returns when the application is terminated.
-
- R3RSM_RUN = 1737000;
-
- function mR3RSM_RUN() {
- DoA(this.r3obj, 1737000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Class method. Register new startup hook. Startup hooks are called when the application is
- // completely initialized and ready to start event processing. In startup hooks, one can study contents
- // of the startup project, insert new GUI objects into the user interface etc. The program
- // passes only one parameter to the hook functions: the address of the main window object.
- // Returns: Boolean, true if hook was succesfully registered.
-
- R3RSCM_REGISTERSTARTUPHOOK = 1737001;
-
- function mR3RSCM_REGISTERSTARTUPHOOK() {
- return DoA(this.r3obj, 1737001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Load project
- // Returns: Boolean, true if succeeded
- // p1: Integer, section bits
- // p2: Boolean, replace
- // p3: String, file name
-
- R3RSM_LOAD = 1737002;
-
- function mR3RSM_LOAD(p1, p2, p3) {
- return DoA3(this.r3obj, 1737002, p1, R3TID_INTEGER, 0, p2, R3TID_BOOLEAN, 0, p3, R3TID_STRING, 0);
- }
-
-
-
-
- R3RSA_Model = 1737500;
- function GetR3RSA_Model() {
- return R3ToJS(R3Get(this.r3obj, R3RSA_Model, R3TID_OBJECT, 0));
- }
-
- R3RSA_View = 1737501;
- function GetR3RSA_View() {
- return R3ToJS(R3Get(this.r3obj, R3RSA_View, R3TID_OBJECT, 0));
- }
-
-
-
- function r3Realsoft () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_REALSOFT, arguments);
- }
- // Methods
- this.RUN=mR3RSM_RUN;
- this.REGISTERSTARTUPHOOK=mR3RSCM_REGISTERSTARTUPHOOK;
- this.LOAD=mR3RSM_LOAD;
-
- // Attributes
- this.GetModel=GetR3RSA_Model;
- this.GetView=GetR3RSA_View;
- }
-
- r3Realsoft.prototype=new r3Root;
- // r3realsoft.h_H